from flask import Flask
from flask_restful import Api
from flask_cors import CORS
from auth.auths import create_access_token, verify_jwt_in_request

app = Flask(__name__)
CORS(app)
api = Api(app)

api.add_resource(create_access_token, '/create-token')
api.add_resource(verify_jwt_in_request, '/verify-token')

if __name__ == "__main__":
    app.run(host = '0.0.0.0')